const TokenKey = 'VISITOR-Token';

const tokenStorage = useStorage<null | string>(TokenKey, null);

export const getVisitorToken = () => tokenStorage.value;

export const setVisitorToken = (access_token: string) => (tokenStorage.value = access_token);

export const removeVisitorToken = () => (tokenStorage.value = null);
